package edu.swust.graduation_project.eauction.activity

import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import edu.swust.graduation_project.eauction.R
import java.lang.Thread.sleep
import kotlin.concurrent.thread

class StartActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_start)
        //应用开屏界面，显示后跳转到LoginActivity(登录界面)
        thread {
            sleep(500)
            startActivity(Intent(this, LoginActivity::class.java))
            finish()
        }
    }
}